package ex101;

public class TemperatureConverter {
    public static double c2f(double celsius) {
        return 9.0 * celsius / 5 + 32;
    }

    public static double f2c(double fahrenheit) {
        return (fahrenheit - 32) * 5.0 / 9;
    }
}
